import {createWebHashHistory, createRouter} from 'vue-router'

const history = createWebHashHistory()
const router = createRouter({
  history: history,
  routes: [
    {
      path: '/', alias: '/notebooks', component: () => import('@/components/NotebookList')
    },
    {path: '/login', component: () => import('@/components/LogIn')},
    {path: '/note', component: () => import('@/components/NoteDetail')},
    {path: '/trash', component: () => import('@/components/TrashDetail')}
  ],
})
export default router